package com.hoshiicloud.user.param.supppiler;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 新增平台机构附件参数
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */

@Data
@ApiModel(value = "新增平台机构附件", description = "新增平台机构附件")
public class PlatOrganizationAttachmentAddParam implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "附件名称", required = true, example = "好货严选入驻须知")
    @NotBlank(message = "附件名称不能为空")
    private String attachName;

    @ApiModelProperty(value = "附件地址", required = true)
    @NotNull(message = "附件地址不能为空")
    private String attachUrl;

    @ApiModelProperty(value = "有效期", required = true)
    private String expirationDate;

    @ApiModelProperty(value = "创建人", required = true)
    private String createdBy;

}
